<template>
  <div class="cyui-employee-info">
    <el-row :gutter="20">
      <el-col :span="6">
        <div class="cyui-employee-item">员工姓名：{{employeeDetail.name}}</div>
      </el-col>
      <el-col :span="6">
        <div class="cyui-employee-item">所属部门：{{employeeDetail.deptName}}</div>
      </el-col>
    </el-row>
  </div>
</template>

<script>
  export default {
    name: 'EmployeeInfo',
    inheritAttrs: true,
    mixins: [],
    components: {},
    data() {
      return {}
    },
    props: {
      employeeDetail: {
        type: Object,
        default() {
          return {}
        }
      }
    },
    computed: {},
    methods: {},
    watch: {},
    created() {
    },
    mounted() {
    }
  }
</script>

<style lang="scss" scoped>
  .cyui-employee-info {
    margin-bottom: 20px;

    .cyui-employee-item {
      line-height: 24px;
      color: #666;
    }
  }
</style>
